package com.baidu.user.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Through {
    private BigDecimal id;

    private String companyname;

    private Date startdate;

    private Date enddate;

    private BigDecimal userid;

    public BigDecimal getId() {
        return id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname == null ? null : companyname.trim();
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public BigDecimal getUserid() {
        return userid;
    }

    public void setUserid(BigDecimal userid) {
        this.userid = userid;
    }

	@Override
	public String toString() {
		return "Through [id=" + id + ", companyname=" + companyname
				+ ", startdate=" + startdate + ", enddate=" + enddate
				+ ", userid=" + userid + "]";
	}
    
}